* {
padding: 0;
- -GtkToolButton-icon-spacing: 4;
- -GtkTextView-error-underline-color: $error_color;
-gtk-icon-style: symbolic; //force symbolic style icons
// The size for scrollbars. The slider is 2px smaller, but we keep it
// slider. The stepper button is larger in both directions, the slider
// only in the width
- -GtkScrolledWindow-scrollbar-spacing: 0;
-
- -GtkToolItemGroup-expander-size: 11;
-
- -GtkTreeView-horizontal-separator: 4;
-
- -GtkDialog-button-spacing: 4;
- -GtkDialog-action-area-border: 0;
+ outline-style: none;
+}
+*:focus(visible) {
// We use the outline properties to signal the focus properties
// to the adwaita engine: using real CSS properties is faster,
// and we don't use any outlines for now.
outline-offset: -4px;
outline-width: 2px;
-gtk-outline-radius: 2px;
-
}
-
/***************
* Base States *
***************/
&:backdrop {
@include button(backdrop);
- -gtk-icon-effect: none;
+ -gtk-icon-filter: none;
&:active,
&:checked { @include button(backdrop-active); }
* Tree Views *
**************/
treeview.view {
- -GtkTreeView-grid-line-width: 1;
- -GtkTreeView-grid-line-pattern: '';
- -GtkTreeView-tree-line-width: 1;
- -GtkTreeView-tree-line-pattern: '';
- -GtkTreeView-expander-size: 16;
border-left-color: mix($fg_color, $base_color, 50%); // this is actually the tree lines color,
border-top-color: $bg_color; // while this is the grid lines color, better then nothing
scrollbar {
$_slider_min_length: 40px;
- // disable steppers
- @at-root * {
- -GtkScrollbar-has-backward-stepper: false;
- -GtkScrollbar-has-forward-stepper: false;
- }
-
background-color: $scrollbar_bg_color;
transition: 300ms $ease-out-quad;
min-width: 14px;
border: 1px solid;
-gtk-icon-source: none;
+ -gtk-icon-size: 14px;
@include button(normal);
button.titlebutton:backdrop:active, button.titlebutton:backdrop:checked, button:backdrop:active, button:backdrop:checked { border-width: 2px; border-style: solid; color: white; background-color: #8d8d8d; border-color: #8d8d8d; background-image: none; }
-button.titlebutton:backdrop:disabled, button:backdrop:disabled { border-width: 2px; border-style: solid; color: gray; background-color: white; border-color: silver; background-image: none; }
+ button.titlebutton:backdrop:disabled, button:backdrop:disabled { border-width: 2px; border-style: solid; color: gray; background-color: white; border-color: silver; background-image: none; }
button.titlebutton:backdrop:disabled:active, button.titlebutton:backdrop:disabled:checked, button:backdrop:disabled:active, button:backdrop:disabled:checked { border-width: 2px; border-style: solid; color: gray; border-color: silver; background-image: none; background-color: #f6f6f6; }